package com.ziyun.pop.modules.supp.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ziyun.pop.modules.supp.entity.SellerInfoEntity;
import com.ziyun.pop.modules.supp.vo.*;
import org.apache.ibatis.annotations.Param;
import java.util.List;
import java.util.Map;

/**
 * @author gaosheng
 * @email 
 * @date 2018-09-30 10:37
 */
public interface ErpSellerInfoDao extends BaseMapper<SellerInfoEntity> {

    SellerInfoVo querySellerInfo(Long sellerId);

    List<SalesVo> querySalesList(Long sellerId);

    CustomVo getCustom(Long sellerId);

    SellerShipVo queryShipInfo(@Param("sellerId") Long sellerId);

    int updateByMap(@Param("map") Map<String, Object> map, @Param("sellerId") Long sellerId);

    Integer getSelfByOrderNo(String orderNo);

    SellerInfoApiVo getSellerInfo(@Param("sellerId") Long sellerId);

    SellerTodayApiVo getSellerTodayData(@Param("sellerId") Long sellerId);

    List<SellerInfoEntity> getSellerNoMallUserId(@Param("nums") Integer nums);

}
